abstract class people {
    name: string;
    age: number;
    sex: string;
    constructor(name:string, age: number, sex:string) {
        this.sex = sex
        this.name = name
        this.age = age
    }
    // abstract show(){
    //     console.log()
    // }
}
// let usePeo = new people('') 使用了 abstract 将无法定义抽象类
class man extends people {
    constructor(name:string, age: number, sex:string) {
        super(name, age, sex)
    }
    show() {

    }
}

new man('老师', 22, '男')

export default {}